<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
		<title>接障详情</title>
		<link rel="stylesheet" type="text/css" href="../../css/api.css"/>
		<link rel="stylesheet" type="text/css" href="../../css/common.css"/>
		<style>
			body {
			}
		</style>
	</head>
	<body>
		<header class="top-header">
			<div class="top-nav-content flex-container flex-between flex-center-v">
				<div class="back-pre-pg top-nav-left icon-arrow-left"></div>
				<div>
					接障详情
				</div>
				<div class="top-nav-right"></div>
			</div>
		</header>
	</body>
	<script type="text/javascript" src="../../script/api.js"></script>
	<script type="text/javascript" src="../../script/common.js"></script>
	<script type="text/javascript">
		apiready = function() {
			//适配iOS7+，Android4.4+状态栏沉浸式效果，详见config文档statusBarAppearance字段
			$api.fixStatusBar($api.dom('header'));
			initView();
			openFm();
		};
		function initView() {
			MyCom.backPrePg();
		}

		function openFm() {
			api.openFrame({
				name : 'order_details_frame',
				url : './order_details_frame.html',
				rect : {
					x : 0,
					y : getFrameY(),
					w : api.winWidth,
					h : 'auto'
				},
				pageParam : api.pageParam
			});

			function getFrameY(){
				var frameheigh = $api.dom('header').offsetHeight;
				var systemType = api.systemType;
				if(api.systemType === 'ios'){
						var systemVersion = api.systemVersion;
						if(parseFloat(systemVersion) >= 11.0){
							frameheigh = frameheigh + 20;
						}
						return frameheigh;
				}
				return frameheigh;
			}

		}
	</script>
</html>
